package com.lkwlw.tplms.mapper;

import java.util.List;
import java.util.Map;

import com.lkwlw.tplms.model.DriverInfo;
import com.lkwlw.tplms.model.DriverInfoExample;
import org.apache.ibatis.annotations.Param;

public interface DriverInfoMapper {
	int countByExample(DriverInfoExample example);

	int deleteByExample(DriverInfoExample example);

	int deleteByPrimaryKey(String idCardNo);

	int insert(DriverInfo record);

	int insertSelective(DriverInfo record);

	List<DriverInfo> selectByExample(DriverInfoExample example);

	DriverInfo selectByPrimaryKey(String idCardNo);

	int updateByExampleSelective(@Param("record") DriverInfo record,
			@Param("example") DriverInfoExample example);

	int updateByExample(@Param("record") DriverInfo record,
			@Param("example") DriverInfoExample example);

	int updateByPrimaryKeySelective(DriverInfo record);

	int updateByPrimaryKey(DriverInfo record);
	
	int deleteDriverInfo(String[] ids);
	
	int updateDriverVehicleNoByPrimaryKey(Map paramMap);
}
